//
// Primitive.hh for  in /home/gomes_m//workzone/test/gdl
// 
// Made by mickael gomes
// Login   <gomes_m@epitech.net>
// 
// Started on  Tue Apr 30 16:33:48 2013 mickael gomes
// Last update Fri May 10 15:40:44 2013 mickael gomes
//

#include	<SFML/Audio.hpp>
#include	<iostream>
#include	<GameClock.hpp>
#include	<Input.hpp>
#include	<Model.hpp>
#include	<Image.hpp>
#include	"AObject.hh"

class Triangle : public AObject
{
public:
  void initialize(std::string const &, float, float, float, float, float);
  void update(gdl::GameClock const &, gdl::Input &);
  void draw(void);
};

class Rectangle : public AObject
{
public:
  Rectangle()
  {
    
  }
  ~Rectangle(){}
  void initialize(std::string  const &, float, float, float, float, float);
  void update(gdl::GameClock const &, gdl::Input &);
  void draw(void);
  gdl::Image    texture_;
private:
  int		x_;
  float		posx1_;
  float		posy1_;
  float		posx2_;
  float		posy2_;
  float		z_;
  sf::SoundBuffer buffer;
  sf::Sound	sound;
};
